/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2023 -05 -15
 * Time: 16:18
 */
public class Circle implements Shape{
    private double r;

    public Circle(double r) {
        this.r = r;
    }

    @Override
    public double getPerim() {
        return 2*Math.PI*r;
    }
}
